Dynamic Drive DHTML code library!
Dynamicdrive.com


.
spacer.gif (807 bytes)
.

Menu

Search DD
Recommend DD
Email offers
DHTML books
Advertising
Contact

Featured Script
Pop-it menu 

Pop-it allows you to associate a drop-down menu with regular links on your page!
.

Partners

JavaScript Kit
.

Link to DD

Do you use scripts from Dynamic Drive? Please give something back by linking to us...
.
spacer.gif (807 bytes)

Home Small4.gif (1046 bytes) Mouse Trail effects Small4.gif (1046 bytes) Here

Image Trail Script All

Credits:
Contributor name: Brian Caputo
Homepage: N/A
Notes: Last modified Dec 31st, 02' by DD for 1) NS6 functionality, 2) Ability to specify offset of trail from mouse pointer (to prevent trail from interfering with links 3) Prevention of trail from going over window's edge.

Description: Add some fun to your mouse cursor with this cross-browser trail script!

Demo:


Directions:

Step 1: Copy the following images into your website directory (6 images):

trail1.gif (708 bytes) trail2.gif (623 bytes) trail3.gif (561 bytes) trail4.gif (478 bytes) trail5.gif (272 bytes) trail6.gif (88 bytes)

Step 2: Finally, add the below fragment to the <body> section of your page:


For those who wish to customize the images used for the trail, all the changes should be done in the T1 array. The first parameter references the image's file name, while the second and third specifies the image's dimensions.

Recommend Us!
-If you like Dynamic Drive, please recommend us to a friend...

Merchant Select
The #1 E-Commerce directory. Visit Merchant Select to find resources  for your online business!

Legend
All- Script works with Netscape 4 AND Internet Explorer 4+
NS- Indicates script works with Netscape 4 (NOT NS 6 yet)
IE- Indicates script works with Internet Explorer 4 and above
IE5- Indicates script works with Internet Explorer 5 and above
NS6!- Temporary index set up on script category pages to indicate script works in NS6


Copyright © 1998-2003 Dynamic Drive. Please read Terms Of Use here before using any of the scripts.